Q:  I am using NXWriteTypes() to  archive a character array as follows:

	NXWriteTypes (typedStream, "[32c]", &myCharArray);

I am following the syntax specified in the documentation, but I consistently get a memory exception error.  Why?

A: The reason is that you are using NXWriteTypes() (plural), which expects multiple types of data, but you only have one single data type.  The fix is to use NXWriteType():

	NXWriteType(typedStream, "[32c]", &myCharArray);

There is another way to archive an array with the specialized NXFunction NXWriteArray().  The above example would be changed to:

	NXWriteArray(stream, "c",  32, myCharArray);

Note the different syntax, and see the technical documentation for details on other types of array elements.

QA777

Valid for 1.0, 2.0, 3.0